package com.yuxinmuyu.sports_management.bean.request;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@ApiModel("更新运动会信息参数")
@Data
public class UpdateSportsProjectRequest {
    @ApiModelProperty("学期ID")
    private String yearTermID;

    @ApiModelProperty("运动名称")
    private String sportsName;

    @ApiModelProperty("运动详情")
    private String sportsMemo;

    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @ApiModelProperty("操作时间")
    private Date lastDate;

    @ApiModelProperty("操作人")
    private String operator;
}
